home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
jcool01.zip
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1992-12-01
|
1KB
|
46 lines
# COOL Examples MS-DOS Borland C++ 3.1 Makefile
# See cool/makefile for the reasons for using these options
OPTIONS=-O-i -vi- -w-sig -w-amp -w-amb -w-cln $(OPTIONS)
COOLLIB=..\cool.lib
ALL= \
ex2_4.obj ex2_7.obj ex2_9.obj ex3_10.obj ex3_4.obj ex3_6.obj \
ex3_8.obj ex4_7.obj ex4_9.obj ex5_8.obj ex6_10.obj ex6_4.obj ex6_6.obj \
ex6_8.obj ex7_4.obj ex7_7.obj ex7_9.obj ex8_4.obj ex8_6.obj \
ex9_5.obj ex9_7.obj ex9_11.obj
#ex3_12.obj # this is the Range example, see 'todo'
# Directory to put .obj files
OBJDIR=.
#.path.obj=$(OBJDIR)
.path.exe=.
CC=bcc
LINK=tlink
TLIB=tlib
INCDIR=c:\borlandc\include;\;\cool
LIBDIR=c:\borlandc\lib
MODEL=l
!if $(DEBUGGING)
OPTIONS=-v $(OPTIONS)
!else
OPTIONS=-O2 $(OPTIONS)
!endif
all: turboc.cfg $(ALL:.obj=.exe)
runall.out: turboc.cfg $(ALL:.obj=.exe)
command /c for %f in (*.exe) do %f > runall.out
.obj.exe:
$(CC) $(OPTIONS) $< $(COOLLIB)
.C.obj:
$(CC) -c -P $(OPTIONS) { $< }
turboc.cfg: makefile
echo -m$(MODEL) -w -d -n$(OBJDIR) -I$(INCDIR) > turboc.cfg